Skip to content

fix: package manager completion support#78

Merged
Aslemammad merged 3 commits intomainfrom
fix/exec
Oct 19, 2025
Merged

fix: package manager completion support#78
Aslemammad merged 3 commits intomainfrom
fix/exec

Conversation

@AmirSa12
Copy link
Copy Markdown
Member

Only pnpm completions worked with globally installed clis. and its because pnpm checks global packages automatically. but npm/bun/yarn only check local node_modules and their own registries.
in this PR, we make the system try direct execution first (finds global binaries in PATH), and then falls back to package manager execution (finds local binaries)

Also,commands like npm exec demo-cli-cac passed "exec" as the CLI name, in this PR, we strip them before processing. and it works for all package managers.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Oct 19, 2025

🦋 Changeset detected

Latest commit: ad5a2dc

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@bomb.sh/tab Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Oct 19, 2025

Open in StackBlitz

npm i https://pkg.pr.new/bombshell-dev/tab/@bomb.sh/tab@78

commit: ad5a2dc

@Aslemammad Aslemammad merged commit 8defa6f into main Oct 19, 2025
9 checks passed
@Aslemammad Aslemammad deleted the fix/exec branch October 19, 2025 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants